package com.irdstudio.apicenter.gateway.web.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;

import com.irdstudio.apicenter.gateway.comm.MaccsPacket;
import com.irdstudio.apicenter.gateway.core.appsession.AppSession;
import com.irdstudio.apicenter.gateway.core.appsession.AppSessionUtil;
import com.irdstudio.apicenter.gateway.web.MaccsException;
import com.irdstudio.apicenter.gateway.web.MaccsTradeDefineVo;
import com.irdstudio.apicenter.gateway.web.view.View;
/**
 * 
 * 
 * <pre>
 * 。
 * </pre>
 * 
 * @author fmf
 * @date 2017-12-6 下午2:08:22
 * 
 *
 */
@Controller
public class Test implements IController {

	@Override
	public View execute(MaccsTradeDefineVo tradeDefine, MaccsPacket inPacket,
			HttpServletRequest request, HttpServletResponse response)
			throws MaccsException {
		
		boolean falg;
		try {
			AppSession AppSession=null;
			falg = AppSessionUtil.createSession(AppSession );
			System.out.println("falg:"+falg);
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		return null;
	}

}
